package com.spring.logging;

/**
 * @author liyuncong
 * @version 1.0
 * @file LogFactory
 * @brief LogFactory
 * @details LogFactory
 * @date 2022-12-08
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                     NAME               DESCRIPTION
 * 2022-12-08               liyuncong          Created
 */
public abstract class LogFactory {

    public static Log getLog(Class<?> clazz) {
        return getLog(clazz.getName());
    }

    public static Log getLog(String name) {
        return LogAdapter.createLog(name);
    }
}
